package office.stock.messaging.notifications;

import lombok.Getter;
import office.stock.model.Offer;

@Getter
public class NewOfferNotification extends Notification {
    
    private Long offerId;
    
    public NewOfferNotification(Offer offer) {
	offerId = offer.getId();
	setOnwersEmail(offer.getSeller().getEmail());
    }
}
